package com.dao.impl;

import com.dao.ChartDao;
import com.entity.Chart;
import com.mapper.ChartMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Repository
public class ChartDaoImpl implements ChartDao {
    @Resource
    ChartMapper chartMapper;
    public List<Chart> getCountStudentScoreChartByClazz(){
      return  chartMapper.getCountStudentScoreChartByClazz();
    }

    public List<Chart> getCountStudentNOChartByClazz(){
        return  chartMapper.getCountStudentNOChartByClazz();
    }
}
